﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BasicInformation.Domain
{
    /// <summary>
    /// 库位管理（Location）			
    /// </summary>
    public class LocationModel:BaseEntity
    {
        /// <summary>
        /// 库位Id（主键唯一标识）
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int LocationId { get; set; }
        /// <summary>
        /// 库位编号(自动生产)
        /// </summary>
        public string LocationCode { get; set; }
        /// <summary>
        /// 库位名称
        /// </summary>
        public string LocationName { get; set; }
        /// <summary>
        /// 库位类型
        /// </summary>
        public int LTypeId {  get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public int DepotId {  get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        public bool IsState {  get; set; }
        /// <summary>
        /// 是否默认
        /// </summary>
        public bool IsPreset {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? LocationRemark {  get; set; }
    }
}
